package com.gopay.common.constants.bank;

import java.io.Serializable;

public class SpdbConstants implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 4913144492748180127L;
    /** 交易成功. */
	public static final String RESPCODE_SUCCESS = "00";
	/**已签约快捷支付*/
	public static final String SIGN_SUCCESS = "Q4";	
	/** 队帐--交易成功. */
	public static final String CHECKORDER_SUCCESS = "00";
	/** 队帐--交易失败. */
	public static final String CHECKORDER_FALSE = "01";	
	/** 撤消成功*/
	public static final String REVOKE_SUCCESS = "02";
	/** 部分退货*/
	public static final String REFUND_PART = "03";
	/** 全部退货*/
	public static final String REFUND_ALL = "04";
	/** 预授权确认成功*/
	public static final String AUTHORIZE_SUCCESS = "05";
	/** 预授权撤销成功*/
	public static final String AUTHORIZE_FALSE = "06";
	/** 交易超时. */
	public static final String CHECKORDER_OTHER = "99";
	/** 签约成功*/
	public static final String SIGN_STATUS_SUCCESS = "0";
	/** 签约失效*/
	public static final String SIGN_STATUS_FAILURE = "1";
	/** 签约撤销*/
    public static final String SIGN_STATUS_REVOKE = "2";
    /** 签约验证*/
    public static final String SIGN_STATUS_VERIFY = "3";
    /** 签约待确认*/
    public static final String SIGN_STATUS_CONFIRM = "4";
    /** 交易处理中  */
    public static final String QUERY_PROCESSED = "92";
    
    /** 浦发快捷支付是否需要cvv2 1：需要. */
    public static final String SPDB_EXPAY_ISQUERYCVN = "1";
    /** 浦发快捷支付是否需要cvv2 2：不需要. */
    public static final String SPDB_EXPAY_NOTQUERYCVN = "2";
    /** 无相关数据*/
    public static final String QUERY_NO_DATA = "02";
    
    /** 浦发交易动作码 0：请求. */
    public static final String SPDB_ADPAY_REQ = "0";
    /** 浦发交易动作码 1：应答. */
    public static final String SPDB_ADPAY_RES = "1";
    
    /** 浦发交易码 SinContract：客户签约. */
    public static final String SPDB_ADPAY_SINCONTRACT = "SinContract";
    /** 浦发交易码 SinCut：单笔代扣. */
    public static final String SPDB_ADPAY_SINCUT = "SinCut";
    /** 浦发交易码 SinCutQuery：单笔代扣结果查询. */
    public static final String SPDB_ADPAY_SINCUTQUERY = "SinCutQuery";
    /** 浦发交易码 SinPay：单笔代付. */
    public static final String SPDB_ADPAY_SINPAY = "SinPay";
    /** 浦发交易码 SinPayQuery：单笔代付结果查询. */
    public static final String SPDB_ADPAY_SINPAYQUERY = "SinPayQuery";
    /** 浦发交易码 AcntCheck：身份核实. */
    public static final String SPDB_ADPAY_ACNTCHECK = "AcntCheck";
    /** 浦发交易码 DaliySignKey：签到交易. */
    public static final String SPDB_ADPAY_DALIYSIGNKEY = "DaliySignKey";

    /** 浦发请求渠道号 00：人工渠道. */
    public static final String SPDB_ADPAY_REQCHANNELNO_00= "00";
    /** 浦发请求渠道号 02：电子渠道. */
    public static final String SPDB_ADPAY_REQCHANNELNO_02= "02";
    /** 浦发请求渠道号 99：默认渠道. */
    public static final String SPDB_ADPAY_REQCHANNELNO_99= "99";
    
    /** 浦发交易返回码 00：交易成功. */
    public static final String SPDB_ADPAY_RESPCODE_SUCCESS= "00";
    /** 浦发交易返回码 TF00：交易成功。资金已清算，交易结束. */
    public static final String SPDB_ADPAY_RESPCODE_END= "TF00";
    /** 浦发交易返回码 TF04：交易不存在. */
    public static final String SPDB_ADPAY_RESPCODE_NOTEXIST= "TF04";
    /** 浦发交易返回码 SYS01：交易处理中. */
    public static final String SPDB_ADPAY_RESPCODE_PROCESSING= "SYS01";
    
    /** 浦发交易返回码 TF01：未知状态. */
    public static final String SPDB_ADPAY_RESPCODE_UNKNOWN= "TF01";
    /** 浦发交易返回码 TF05：交易被锁定. */
    public static final String SPDB_ADPAY_RESPCODE_LOCKED= "TF05";
    
    /********************聚合支付常量定义*****************/
    public static final String PURC = "PURC";
    public static final String INQY = "INQY";
    public static final String CANC = "CANC";
    public static final String REFD = "REFD";
    /**
     * 交易不存在
     */
    public static final String SPDB_APPAY_RESPCODE_NOTEXIST= "Y3";
    /**
     * 交易进行中
     */
    public static final String SPDB_APPAY_RESPCODE_PROCESSING= "09";
    /**
     * 订单已经取消
     */
    public static final String SPDB_APPAY_RESPCODE_CANC= "Y9";
    
    
}
